package com.grao.waterschool.human.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.grao.waterschool.human.entiry.po.TWschoolUserRoleLink;

import java.util.List;

public interface TWschoolUserRoleLinkMapper extends BaseMapper<TWschoolUserRoleLink> {

    List<String> getRoleByUserId(String teacherNum);

    void insert(String teacher_num, int roleId);

    void setRoleBySuperAdmin(String teacherNum, String roleId);

    List<TWschoolUserRoleLink> getUserByRoleId(String roleId);
}
